﻿// See https://aka.ms/new-console-template for more information
using BuilderPrattern;

Console.WriteLine("Hello, World!");


Director director= new Director();

Builder b1 = new ConcreteBuilderA();
Builder b2 = new ConcreteBuilderB();

director.Construct(b1);
Product p1 = b1.GetResult();
p1.Show();

director.Construct(b2);
Product p2 = b2.GetResult();
p2.Show();
